export default {
  // 切换语言
  updataLanguage (state, lang = '') {
    state.language = lang
    localStorage.setItem('language', lang)
  },
  // 更新当前系统环境
  updateB2cEnv (state, env) {
    state.b2cEnv = env
    localStorage.setItem('b2cEnv', JSON.stringify(env))
  }
}
